#pragma once

#include<iostream>
#include<sys/types.h>
#include<sys/stat.h>
#include<cerrno>
#include<cstring>
#include<stdlib.h>
#include<unistd.h>
#include<fcntl.h>

#define MODE 0664
#define FIFO_FILE "./myfifo"

enum{
    FIFO_CREAT_ERR = 1,
    FIFO_DELETE_ERR,
    FIFO_OPEN_ERR,
    
};